package com.yisu.auction.manager.core.service;

import com.yisu.auction.ewf.common.web.EasyUIGrid;
import com.yisu.auction.ewf.entity.AppSignManager;
import com.yisu.auction.manager.domain.request.systemConfigPackage.AppSignRequest;

import java.util.List;

/**
 * author: 黄萧林
 * Business Description：
 * createTime：2017/9/4
 */
public interface IAppSignService {
    /**
     * author:黄萧林
     * Business Description:获取appSign信息
     *
     * @param appSignRequest
     * @return
     */
    EasyUIGrid<AppSignManager> getAppSignInfoByPage(AppSignRequest appSignRequest);

    /**
     * author:黄萧林
     * Business Description:添加/编辑appSign信息
     *
     * @return
     */
    boolean modifyAppSignInfo(AppSignManager AppSignManager);


    /**
     * author:黄萧林
     * Business Description:删除appSign
     *
     * @return
     */
    boolean deleteAppSignInfo(Long id);

    /**
     * author:黄萧林
     * Business Description:获取一条数据
     *
     * @param id
     * @return
     */
    AppSignManager getAppSign(Long id);


    /**
     * author:赵杰
     * Business Description:获取所有签名列表
     *
     * @return
     */
    List<AppSignManager> getAppSignManagerList();

    /**
     * author:赵杰
     * Business Description:通过signId初始化包商品
     * @param signId
     * @return
     */
    boolean initSignGoodsBySignId(long signId);
}
